import glob
import numpy as np

''' 
    Path define for IDS recording
'''
# file_path = '/Users/yl/Documents/Eclipse Workspace/Tilt_Interferometer/Home_work_data/Rampwave_16line/1__8Vpp_100mHz_closemode'
file_path = r'C:\Users\yu03\Desktop\Long Exposure\Frame_RAW10'
doc_name = '3'
### numpy data for pixel value
file_type = '.npy'
file_name = file_path + '\\' +  doc_name + file_type

''' 
    Define File & Path for Processing
'''
folder_path = r'E:\3-DoF Interferometer\Simulated_File\Resolution\results'
np_names = glob.glob(folder_path+'\*.npy')

''' 
    Define readout results path
'''
result_names = glob.glob(folder_path+'\*.txt') ### only for readout


'''
    Line location
'''
hor_index = 640 ### only for recording
ver_index = 640
line_num = 100
# line_num = 101
scale_factor = 1
hor_lines = np.linspace(hor_index-scale_factor*(line_num-0)/2, hor_index+scale_factor*(line_num-0)/2, line_num, dtype='int')
ver_lines = np.linspace(ver_index-scale_factor*(line_num-0)/2, ver_index+scale_factor*(line_num-0)/2, line_num, dtype='int')
